# Contributor: Simon Frankenberger <simon-alpine@fraho.eu>
# Maintainer: Simon Frankenberger <simon-alpine@fraho.eu>
pkgname=py3-pyte
_pkgname=pyte
pkgver=0.8.1
pkgrel=2
pkgdesc="Pyte is an in memory VTXXX-compatible terminal emulator"
url="https://github.com/selectel/pyte"
arch="noarch"
license="LGPL"
depends="py3-wcwidth"
makedepends="py3-setuptools py3-pytest-runner"
subpackages="$pkgname-pyc"
source="pyte-$pkgver.tar.gz::https://github.com/selectel/pyte/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

check() {
	python3 setup.py check
}

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
f49d9394cca92c27fdd5319bdce164d5cac63b77d13156de7105bee6087a615e844fafa8507089c8bf6cf31a796cc858a3ccf597aa23cfa595d0d9e0adfab5d4  pyte-0.8.1.tar.gz
"
